package com.wyclabs.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 网关服务
 * @author YichuanWang
 * @date 2019/8/2 17:20
 */
@SpringBootApplication(scanBasePackages = "com.wyclabs", exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableAsync
@EnableFeignClients
public class GateWayApp {

    public static void main(String[] args) {
        SpringApplication.run(GateWayApp.class, args);
    }

}
